<script setup>
import {ElEmpty,ElSpace,ElText,ElButton} from "element-plus";
import {useRouter} from "vue-router";
const router = useRouter();
</script>

<template>
  <el-space direction="vertical">
    <el-empty >
      <template #description>
        <el-text tag="b">404 Not Found</el-text>
      </template>
    </el-empty>
    <div @click="()=>router.go(-1)" class="pointer">
      <el-button >返回上一层</el-button>
    </div>
  </el-space>
</template>

<style scoped>
.pointer{
  cursor: pointer;
}
</style>